package com.engine4cloud.tdf.supervision.dto.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 矫正方案管理-响应对象
 *
 * @author wenjie
 * @date 2024-04-19 09:45:15
 */
@Data
@Schema(description = "矫正方案管理-响应对象")
public class JzfaManageUpdateDTO implements Serializable {

    /**
     * 主键
     */
    @Schema(description = "主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    /**
     * 阶段开始时间
     */
    @Schema(description = "阶段开始时间", example = "2024-01-01")
    @NotNull(message = "阶段开始时间不能为空")
    private LocalDate jdkssj;

    /**
     * 阶段结束时间
     */
    @Schema(description = "阶段结束时间", example = "2026-01-01")
    @NotNull(message = "阶段结束时间不能为空")
    private LocalDate jdjssj;

    /**
     * 监管级别（处遇类别）
     */
    @Schema(description = "监管级别（处遇类别）", example = "01")
    @NotBlank(message = "监管级别（处遇类别）不能为空")
    private String jgjb;

    /**
     * 矫正方案内容
     */
    @Schema(description = "矫正方案内容")
    @NotBlank(message = "矫正方案内容不能为空")
    private String jzfanr;

    /**
     * 记录人
     */
    @Schema(description = "记录人")
    @NotBlank(message = "记录人不能为空")
    private String jlr;

    /**
     * 记录时间
     */
    @Schema(description = "记录时间", example = "2024-01-01 00:00:00")
    @NotNull(message = "记录时间不能为空")
    private LocalDateTime jlsj;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String bz;

}